package org.lq.shopping.dao;

import org.lq.shopping.base.BaseDao;
import org.lq.shopping.entity.ShopUser;

public interface ShopUserDao extends BaseDao<ShopUser> {
	/**
	 * 登录
	 * @param account
	 * @param upass
	 * @return
	 */
	ShopUser Login(String account,String upass);
	  
	/**
	 * 通过用户名查询
	 * @param uname
	 * @return
	 */
	ShopUser findByUname(String uname);
	
	/**
	 * 通过id查询
	 */
	ShopUser findById(int id);

	
}
